using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SWGeneracionE.Models
{
    public partial class Lugar
    {
        [Key()]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int idLugar { get; set; }
        [Required]
        public int idPais { get; set; }
        [Required]
        public string nombre { get; set; }
        public string direccion { get; set; }

        public virtual ICollection<Evento> Evento { get; set; }
        public virtual Pais Pais { get; set; }

    }
}